home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 8056 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  944 b 

  1. Path: csus.edu!pluto!michael_
  2. From: michael_@sfsu.edu (Michael J. Legac)
  3. Newsgroups: comp.lang.c++
  4. Subject: Alternatives to cin?
  5. Date: 13 Feb 1996 21:50:23 GMT
  6. Organization: San Francisco State University
  7. Message-ID: <4fr12v$htt@news.csus.edu>
  8. NNTP-Posting-Host: michael_@pluto.sfsu.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12.     I've been programming in C/C++ for about a year and a half now; 
  13. primarily for my school classes, but I've yet to find an alternative to 
  14. the kludgy cin/scanf. I mainly code with gcc/g++, on my school's Solaris 5.3 
  15. system and at home on Linux. 
  16.     Basically, I just want to get rid of the <CR> cin requires. I 
  17. guess what I'm looking for is either some way to do key bindings. I've 
  18. done this before in Pascal and ASM on the PC, using interupts, but I'm 
  19. sure there is a more portable way. Any code I write, I'd like to compile 
  20. and run on either UNIX/Linux/x86. 
  21.     Comments/suggestions are appreciated.
  22.  
  23. TIA,
  24.  
  25. /Michael
  26.